<?php
/**

 * User:ayou chow
 * Date: 2019-12-09
 * Time: 15:52
 */

namespace app\common\model;


use think\Model;

class ChatForbidLogModel extends Model
{
    protected $table = 'db_chat_forbid_log';
    public function user(){
        return $this->hasOne(UserModel::class,'id','uid');
    }

    public function admin(){
        return $this->hasOne(UserModel::class, 'id','admin_id');
    }
}